package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单元信息对象 cm_court_block
 * 
 * @author pop404NotFound
 * @date 2021-11-24
 */
public class CmCourtBlock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域编号(主键) */
    @Excel(name = "区域编号(主键)")
    private Long id;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String blockname;

    /** 业主编号 */
    @Excel(name = "业主编号")
    private String owId;

    /** 区域编号 */
    @Excel(name = "区域编号")
    private String amId;

    /** 居民信息管理信息 */
    private List<CmUserInfo> cmUserInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBlockname(String blockname) 
    {
        this.blockname = blockname;
    }

    public String getBlockname() 
    {
        return blockname;
    }
    public void setOwId(String owId) 
    {
        this.owId = owId;
    }

    public String getOwId() 
    {
        return owId;
    }
    public void setAmId(String amId) 
    {
        this.amId = amId;
    }

    public String getAmId() 
    {
        return amId;
    }

    public List<CmUserInfo> getCmUserInfoList()
    {
        return cmUserInfoList;
    }

    public void setCmUserInfoList(List<CmUserInfo> cmUserInfoList)
    {
        this.cmUserInfoList = cmUserInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("blockname", getBlockname())
            .append("owId", getOwId())
            .append("amId", getAmId())
            .append("cmUserInfoList", getCmUserInfoList())
            .toString();
    }
}
